import request from '@/utils/request'

// 查询人情世故列表
export function listList(query) {
  return request({
    url: '/life/list/list',
    method: 'get',
    params: query
  })
}

// 查询人情世故详细
export function getList(lGiftId) {
  return request({
    url: '/life/list/' + lGiftId,
    method: 'get'
  })
}

// 新增人情世故
export function addList(data) {
  return request({
    url: '/life/list',
    method: 'post',
    data: data
  })
}

// 修改人情世故
export function updateList(data) {
  return request({
    url: '/life/list',
    method: 'put',
    data: data
  })
}

// 删除人情世故
export function delList(lGiftId) {
  return request({
    url: '/life/list/' + lGiftId,
    method: 'delete'
  })
}
